package com.ai.module.mj.service;

import com.ai.module.mj.constant.enums.BlendDimensions;
import com.ai.module.mj.domain.Task;
import com.ai.module.mj.domain.vo.SubmitResultVO;
import com.ai.module.mj.domain.bo.MJDataUrl;

import java.util.List;

public interface TaskService {

	SubmitResultVO submitImagine(Task task);

	SubmitResultVO submitUpscale(Task task, String targetMessageId, String targetMessageHash, int index, int messageFlags);

	SubmitResultVO submitVariation(Task task, String targetMessageId, String targetMessageHash, int index, int messageFlags);

	SubmitResultVO submitReroll(Task task, String targetMessageId, String targetMessageHash, int messageFlags);

	SubmitResultVO submitDescribe(Task task, MJDataUrl dataUrl, List<String> fileUrlList);

	SubmitResultVO submitBlend(Task task, List<MJDataUrl> dataUrls, BlendDimensions dimensions);

	default void  setEnd(){

	}

}